projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bc4e13
)
Don't query the position of keyboards
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 17 Dec 2010 23:39:59 +0000
(18:39 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 17 Dec 2010 23:41:24 +0000
(18:41 -0500)
Turns out that this causes X errors with the XI2 implementation.
gtk/gtkaboutdialog.c
patch
|
blob
|
history
diff --git
a/gtk/gtkaboutdialog.c
b/gtk/gtkaboutdialog.c
index 4844ed792d6e5b017589e700582b4dd92a5a9cd6..b72676d1ba9c93543ce1184a3bd08360f0aef8dc 100644
(file)
--- a/
gtk/gtkaboutdialog.c
+++ b/
gtk/gtkaboutdialog.c
@@
-2045,6
+2045,9
@@
text_view_visibility_notify_event (GtkWidget *text_view,
{
GdkDevice *dev = d->data;
+ if (gdk_device_get_source (dev) == GDK_SOURCE_KEYBOARD)
+ continue;
+
gdk_window_get_device_position (gtk_widget_get_window (text_view), dev,
&wx, &wy, NULL);